//
//  RRadioListCell.m
//  EPAa
//
//  Created by lanou3g on 16/4/21.
//  Copyright © 2016年 李日青. All rights reserved.
//

#import "RRadioListCell.h"

@interface RRadioListCell ()
@property (weak, nonatomic) IBOutlet UIImageView *coverImageView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UIImageView *userImageView;
@property (weak, nonatomic) IBOutlet UILabel *userNameLabel;


@end
@implementation RRadioListCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


- (void)layoutSubviews {
    
    [self.coverImageView sd_setImageWithURL:[NSURL URLWithString:self.model.coverimg]];
    self.titleLabel.text = self.model.title;
    [self.userImageView sd_setImageWithURL:[NSURL URLWithString:self.model.playInfoModel.icon]];
    self.userNameLabel.text = self.model.playInfoModel.uname;
}

@end
